package com.shop2cn.iapi.promotion.parameter;

import com.google.gson.annotations.SerializedName;
import com.ymt.base.BaseBean;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by gejianhua on 2017/5/11.
 * 购物车中商品参与促销计算后的促销结果信息
 */
public class ProductPromotionInfoDto extends  BaseBean {

    /**
     * 促销策略
     */
    @SerializedName("PromotionPolicyInfo")
    private PromotionPolicyDto promotionPolicyDto;

    /**
     * 促销优惠总金额
     */
    @SerializedName("PromotionAmount")
    private BigDecimal promotionAmount;

    /**
     * 购物车中商品促销优惠信息
     */
    @SerializedName("ProductInfos")
    private List<ProductDto> productDtos;

    /**
     * 购物车中第二件半价商品促销信息
     */
    @SerializedName("PromotionProductInfos")
    private List<HalfPriceProductPromotionDto> halfPriceProductPromotionDtos;
    /**
     * 当前级优惠级别
     */
    private PromotionValueDto currentPromotionValueDto;
    /**
     * 下一级优惠级别
     */
    private PromotionValueDto nextPromotionValueDto;


    public PromotionPolicyDto getPromotionPolicyDto() {
        return promotionPolicyDto;
    }

    public void setPromotionPolicyDto(PromotionPolicyDto promotionPolicyDto) {
        this.promotionPolicyDto = promotionPolicyDto;
    }

    public BigDecimal getPromotionAmount() {
        return promotionAmount;
    }

    public void setPromotionAmount(BigDecimal promotionAmount) {
        this.promotionAmount = promotionAmount;
    }

    public List<ProductDto> getProductDtos() {
        return productDtos;
    }

    public void setProductDtos(List<ProductDto> productDtos) {
        this.productDtos = productDtos;
    }

    public List<HalfPriceProductPromotionDto> getHalfPriceProductPromotionDtos() {
        return halfPriceProductPromotionDtos;
    }

    public void setHalfPriceProductPromotionDtos(List<HalfPriceProductPromotionDto> halfPriceProductPromotionDtos) {
        this.halfPriceProductPromotionDtos = halfPriceProductPromotionDtos;
    }

    public PromotionValueDto getCurrentPromotionValueDto() {
        return currentPromotionValueDto;
    }

    public void setCurrentPromotionValueDto(PromotionValueDto currentPromotionValueDto) {
        this.currentPromotionValueDto = currentPromotionValueDto;
    }

    public PromotionValueDto getNextPromotionValueDto() {
        return nextPromotionValueDto;
    }

    public void setNextPromotionValueDto(PromotionValueDto nextPromotionValueDto) {
        this.nextPromotionValueDto = nextPromotionValueDto;
    }

    /**
     * 第二件半价商品优惠信息
     */
    public static class HalfPriceProductPromotionDto extends  BaseBean{

        /**
         * 第二件半价促销优惠金额
         */
        @SerializedName("PromotionAmount")
        private BigDecimal promotionAmount;

        /**
         * 参与促销优惠的规格
         */
        @SerializedName("PromotionCatalogInfos")
        private List<HalfPriceProductDto> halfPriceProductDtos;

        public BigDecimal getPromotionAmount() {
            return promotionAmount;
        }

        public void setPromotionAmount(BigDecimal promotionAmount) {
            this.promotionAmount = promotionAmount;
        }

        public List<HalfPriceProductDto> getHalfPriceProductDtos() {
            return halfPriceProductDtos;
        }

        public void setHalfPriceProductDtos(List<HalfPriceProductDto> halfPriceProductDtos) {
            this.halfPriceProductDtos = halfPriceProductDtos;
        }
    }


    


}
















































